﻿/*
 * Copyright (c) 2025 粤港澳大湾区（广东）国创中心
 *
 * This file is a part of NctiCAEPre.
 *
 * NctiCAEPre is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 *
 */

/********************************************************************************
** Form generated from reading UI file 'AddCustomActionDialog.ui'
**
** Created by: Qt User Interface Compiler version 5.14.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_ADDCUSTOMACTIONDIALOG_H
#define UI_ADDCUSTOMACTIONDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_AddCustomActionDialog
{
public:
    QGridLayout *gridLayout_3;
    QFrame *frameTxt;
    QGridLayout *gridLayout_2;
    QHBoxLayout *horizontalLayout_2;
    QLabel *actionName;
    QLineEdit *lineEdit;
    QHBoxLayout *horizontalLayout;
    QLabel *defaultLogo;
    QListView *listView;
    QHBoxLayout *horizontalLayout_3;
    QLabel *customLogo;
    QToolButton *selectLogoBtn;
    QToolButton *showLogoBtn;
    QSpacerItem *horizontalSpacer_3;
    QFrame *frameBtn;
    QGridLayout *gridLayout;
    QHBoxLayout *hBoxBtn;
    QPushButton *noSaveBtn;
    QPushButton *saveBtn;
    QSpacerItem *horizontalSpacer;

    void setupUi(QWidget *AddCustomActionDialog)
    {
        if (AddCustomActionDialog->objectName().isEmpty())
            AddCustomActionDialog->setObjectName(QString::fromUtf8("AddCustomActionDialog"));
        AddCustomActionDialog->resize(320, 283);
        gridLayout_3 = new QGridLayout(AddCustomActionDialog);
        gridLayout_3->setSpacing(0);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        gridLayout_3->setContentsMargins(0, 0, 0, 0);
        frameTxt = new QFrame(AddCustomActionDialog);
        frameTxt->setObjectName(QString::fromUtf8("frameTxt"));
        frameTxt->setFrameShape(QFrame::Shape::NoFrame);
        gridLayout_2 = new QGridLayout(frameTxt);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        actionName = new QLabel(frameTxt);
        actionName->setObjectName(QString::fromUtf8("actionName"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(actionName->sizePolicy().hasHeightForWidth());
        actionName->setSizePolicy(sizePolicy);
        actionName->setMinimumSize(QSize(60, 24));
        actionName->setMaximumSize(QSize(60, 16777215));

        horizontalLayout_2->addWidget(actionName);

        lineEdit = new QLineEdit(frameTxt);
        lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
        lineEdit->setMinimumSize(QSize(0, 24));

        horizontalLayout_2->addWidget(lineEdit);


        gridLayout_2->addLayout(horizontalLayout_2, 0, 0, 1, 1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(9);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        defaultLogo = new QLabel(frameTxt);
        defaultLogo->setObjectName(QString::fromUtf8("defaultLogo"));
        sizePolicy.setHeightForWidth(defaultLogo->sizePolicy().hasHeightForWidth());
        defaultLogo->setSizePolicy(sizePolicy);
        defaultLogo->setMinimumSize(QSize(60, 0));

        horizontalLayout->addWidget(defaultLogo);

        listView = new QListView(frameTxt);
        listView->setObjectName(QString::fromUtf8("listView"));

        horizontalLayout->addWidget(listView);


        gridLayout_2->addLayout(horizontalLayout, 1, 0, 1, 1);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        customLogo = new QLabel(frameTxt);
        customLogo->setObjectName(QString::fromUtf8("customLogo"));
        sizePolicy.setHeightForWidth(customLogo->sizePolicy().hasHeightForWidth());
        customLogo->setSizePolicy(sizePolicy);
        customLogo->setMinimumSize(QSize(60, 0));

        horizontalLayout_3->addWidget(customLogo);

        selectLogoBtn = new QToolButton(frameTxt);
        selectLogoBtn->setObjectName(QString::fromUtf8("selectLogoBtn"));
        selectLogoBtn->setMinimumSize(QSize(28, 28));
        selectLogoBtn->setIconSize(QSize(24, 24));

        horizontalLayout_3->addWidget(selectLogoBtn);

        showLogoBtn = new QToolButton(frameTxt);
        showLogoBtn->setObjectName(QString::fromUtf8("showLogoBtn"));
        showLogoBtn->setMinimumSize(QSize(28, 28));
        showLogoBtn->setMaximumSize(QSize(28, 28));
        showLogoBtn->setIconSize(QSize(24, 24));
        showLogoBtn->setPopupMode(QToolButton::ToolButtonPopupMode::InstantPopup);
        showLogoBtn->setAutoRaise(true);

        horizontalLayout_3->addWidget(showLogoBtn);

        horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_3->addItem(horizontalSpacer_3);


        gridLayout_2->addLayout(horizontalLayout_3, 2, 0, 1, 1);


        gridLayout_3->addWidget(frameTxt, 0, 0, 1, 1);

        frameBtn = new QFrame(AddCustomActionDialog);
        frameBtn->setObjectName(QString::fromUtf8("frameBtn"));
        frameBtn->setFrameShape(QFrame::Shape::StyledPanel);
        frameBtn->setFrameShadow(QFrame::Shadow::Raised);
        gridLayout = new QGridLayout(frameBtn);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        hBoxBtn = new QHBoxLayout();
        hBoxBtn->setSpacing(8);
        hBoxBtn->setObjectName(QString::fromUtf8("hBoxBtn"));
        noSaveBtn = new QPushButton(frameBtn);
        noSaveBtn->setObjectName(QString::fromUtf8("noSaveBtn"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(noSaveBtn->sizePolicy().hasHeightForWidth());
        noSaveBtn->setSizePolicy(sizePolicy1);
        noSaveBtn->setMinimumSize(QSize(76, 36));
        noSaveBtn->setMaximumSize(QSize(76, 36));

        hBoxBtn->addWidget(noSaveBtn);

        saveBtn = new QPushButton(frameBtn);
        saveBtn->setObjectName(QString::fromUtf8("saveBtn"));
        sizePolicy1.setHeightForWidth(saveBtn->sizePolicy().hasHeightForWidth());
        saveBtn->setSizePolicy(sizePolicy1);
        saveBtn->setMinimumSize(QSize(76, 36));
        saveBtn->setMaximumSize(QSize(76, 36));

        hBoxBtn->addWidget(saveBtn);


        gridLayout->addLayout(hBoxBtn, 0, 1, 1, 1);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer, 0, 0, 1, 1);


        gridLayout_3->addWidget(frameBtn, 1, 0, 1, 1);


        retranslateUi(AddCustomActionDialog);

        QMetaObject::connectSlotsByName(AddCustomActionDialog);
    } // setupUi

    void retranslateUi(QWidget *AddCustomActionDialog)
    {
        AddCustomActionDialog->setWindowTitle(QString());
        actionName->setText(QCoreApplication::translate("AddCustomActionDialog", "Name", nullptr));
        defaultLogo->setText(QCoreApplication::translate("AddCustomActionDialog", "Logo", nullptr));
        customLogo->setText(QCoreApplication::translate("AddCustomActionDialog", "customLogo", nullptr));
        selectLogoBtn->setText(QString());
        showLogoBtn->setText(QString());
        noSaveBtn->setText(QCoreApplication::translate("AddCustomActionDialog", "NoSave", nullptr));
        saveBtn->setText(QCoreApplication::translate("AddCustomActionDialog", "Save", nullptr));
    } // retranslateUi

};

namespace Ui {
    class AddCustomActionDialog: public Ui_AddCustomActionDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_ADDCUSTOMACTIONDIALOG_H
